package com.spring.demo.pojo;

/**
 * @version 1.0.0
 * @Date: 2022/5/14 10:00
 * @Author ZhuYouBin
 * @Description
 */
public class StaticFactoryMethod {
    // 静态工厂方法
    public static Person getInstance() {
        return new Person(1002, "朱友斌");
    }
}
